package adv3;

public class Shuxue {

	public static void main(String[] args) {
		int a = 14;
		int b = 23;
		System.out.printf("a=%10s\n", Integer.toBinaryString(a));
		System.out.printf("b=%10s\n", Integer.toBinaryString(b));

		int c = a & b;
		System.out.println("c=" + c);
		int c2 = a | b;//
		System.out.println("c2=" + c2);
		int c3 = ~a;
		System.out.println("c3=" + c3);

		String s1 = Double.toHexString(3.1415926);
		System.out.println(s1);
	}

}
